#ifndef QLOGTREEWIDGET_H
#define QLOGTREEWIDGET_H

#include <QTreeWidget>

class QLogManager;

class QLogTreeWidget : public QTreeWidget
{
    Q_OBJECT
public:
    explicit QLogTreeWidget(QWidget *parent = 0);
    
protected:
    void    contextMenuEvent(QContextMenuEvent *);
signals:
    
protected slots:
    void    refresh();

    void    clear();

    void    save_as_txt();
protected:
    QLogManager*        m_log_manager;
    QList<QTreeWidgetItem*> m_items;
};

#endif // QLOGTREEWIDGET_H
